Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay/TOPI][Op] Add shape op in Relay and TOPI #2749

Merged
merged 8 commits into from
Mar 13, 2019

Conversation

icemelon
Copy link
Member

@icemelon icemelon commented Mar 8, 2019

This PR adds the shape op in Relay and TOPI. Shape op returns the shape tensor of the input tensor.

More specifically, this PR includes

  • shape op in TOPI
  • shape_of op in Relay
  • Constant folding for shape_of op in Relay

Thanks @jroesch for the help in Relay part.

@icemelon icemelon requested a review from jroesch March 8, 2019 01:33
@jroesch
Copy link
Member

jroesch commented Mar 8, 2019

Overall looks good to me 👍

Copy link
Member

@jroesch jroesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just ping me when CI is done.

@Laurawly
Copy link
Contributor

Laurawly commented Mar 8, 2019

LGTM

@jroesch
Copy link
Member

jroesch commented Mar 12, 2019

@Laurawly @Huyuwei can you guys explicitly approve the changes if your review is all done?

@Laurawly Laurawly merged commit ee80580 into apache:master Mar 13, 2019
@icemelon icemelon deleted the shapeof1 branch March 13, 2019 23:33
wweic pushed a commit to wweic/tvm that referenced this pull request Mar 20, 2019
* Add shapeof op in topi

* Add relay shape_of op

* Add constant folding for shape_of

* Allow shape op to specify dtype

* Add mxnet converter for shape_array

* lint

* lint

* Add doc
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 20, 2019
* Add shapeof op in topi

* Add relay shape_of op

* Add constant folding for shape_of

* Allow shape op to specify dtype

* Add mxnet converter for shape_array

* lint

* lint

* Add doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants